/**
 * 用户服务
 *
 * @author yuwei
 * @date 20:54 2024/4/24
 */
public class account extends Finance {
    private String title;
    public account(int money,String title){
        super(money);
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return "内容  "+title+"交易额    "+getMoney()+"日期     "+getTime();
    }
}
